
export const getFolderId = (ids:string) => {
  const newIds = ids.split('\\')

  newIds.pop()
  const idsLength = newIds.length
  return {
    folderId: newIds[idsLength - 1],
    parentId: newIds[idsLength - 2],
    folderLevel: idsLength
  }
}